package com.linkage.admin.pojo;

public class Authority {

	/**
	 * create table authority
		(
		   authorityid          int(10) not null,
		   authorityname        varchar(50) not null,
		   primary key (authorityid)
		);
	 */
	private int authorityid;
	private String authorityname;
	public int getAuthorityid() {
		return authorityid;
	}
	public void setAuthorityid(int authorityid) {
		this.authorityid = authorityid;
	}
	public String getAuthorityname() {
		return authorityname;
	}
	public void setAuthorityname(String authorityname) {
		this.authorityname = authorityname;
	}
	@Override
	public String toString() {
		return "Authority [authorityid=" + authorityid + ", authorityname="
				+ authorityname + "]";
	}
	public Authority(int authorityid, String authorityname) {
		super();
		this.authorityid = authorityid;
		this.authorityname = authorityname;
	}
	public Authority() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
